|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
november 2011 doc id 18032 rev 2 1/32 UM1008 user manual demonstration kit for the st7570 power line modem with graphical user interface introduction the st7570 gui is a software tool that allows interfacing with one or more stmicroelectronics? power line modem (plm) demonstration boards with a personal computer (pc). only plm demonstration boards equipped with the st7570 device are supported. the st7570 gui gives the user complete control of the st7570 device, having access to all its registers and functions, as described in [ 2 ] . the typical application environment (shown in figure 1 ) consists of an st7570 gui running on a pc and communicating through a usb connection with a plm demonstration kit equipped with the st7570 product, such as the evalkitst7570-1 (consisting of a modem board and a power supply board). figure 1. st7570 typical application environment www.st.com
contents UM1008 2/32 doc id 18032 rev 2 contents 1 document conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 connection procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3 gui installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.1 system requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.2 installing the software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4 getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 adding other nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4.3 opening the com . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5 services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.1 basic modem configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.2 phy layer communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.2.1 synchro indication information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.2.2 phy data indication information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.2.3 synchronization management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.3 mib operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 5.4 mac layer communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.4.1 mac frame transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.4.2 synchro indication found information . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.4.3 mac data indication information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.4.4 synchronization management notification . . . . . . . . . . . . . . . . . . . . . . . 25 5.4.5 statistic information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 5.5 alarm services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 5.6 repeater call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.6.1 repeater call for client nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5.6.2 repeater call for server nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 6 references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 UM1008 list of figures doc id 18032 rev 2 3/32 list of figures figure 1. st7570 typical application environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 figure 2. hardware update wizard screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 figure 3. new hardware update wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 figure 4. found new hardware update wizard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 figure 5. hardware installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 6. software installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 7. completing the found new hardware update wizard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 figure 8. st7570 gui installation wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 9. st7570 gui setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 10. application installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 11. application installed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 12. st7570 gui main window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 13. st7570 gui tooltip example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 14. ?add node? procedure to add a new node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 15. the new node has been added - (panel node 2) is now available . . . . . . . . . . . . . . . . . . . 13 figure 16. modem connection procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 17. modem connection success . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 18. start the automatic com port number detection procedure . . . . . . . . . . . . . . . . . . . . . . . . 15 figure 19. automatic com port number detection procedure: step 1 . . . . . . . . . . . . . . . . . . . . . . . . . 15 figure 20. automatic com port number detection procedure: step 2 . . . . . . . . . . . . . . . . . . . . . . . . . 15 figure 21. automatic com port number detection procedure: final step . . . . . . . . . . . . . . . . . . . . . . . 16 figure 22. modem configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 23. phy power line transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 figure 24. communication notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 figure 25. synchro indication information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 figure 26. data indication information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 figure 27. synchronization status information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 figure 28. synchronization reject request command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 figure 29. mib parameter panel default appearance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 30. mac layer configuration parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 31. mib object writing and reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 32. mib object writing and reading: console messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 33. mac layer frame composition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 34. mac communication notifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 35. synchro indication found information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 36. data indication information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 37. synchro indication lost information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 38. mac statistic information counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 39. alarm service settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 40. alarm service notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 41. alarm counters controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 42. rc request catch setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 43. repeater call request for client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 figure 44. repeater settings for server node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 figure 45. rc confirm for server node. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 document conventions UM1008 4/32 doc id 18032 rev 2 1 document conventions the following abbreviations are used: table 1. list of abbreviations abbreviation description pre preamble ssd start of subframe delimitation mib management information base pga programmable gain amplifier zc zero-crossing phy physical layer mac medium access layer da destination address sa source address ns number of subframes fcs frame check sequence crc cyclic redundancy check m_sdu mac service data unit m_pdu mac protocol data unit ic initial credit cc current credit dc delta credit tic inter-character timeout fima first initiator mac address lima last initiator mac address rc repeater call procedure is intelligent synchronization procedure UM1008 connection procedure doc id 18032 rev 2 5/32 2 connection procedure in order to connect evalkitst7570-1 to the pc, the user must follow the instructions below: 1. connect the board to the pc using a usb cable. 2. plug a power cable into the board ac power plug. 3. plug the power cable into the power socket. 4. as soon as the board is powered, the power leds switch on. usb/uart adapter driver installation the usb communication between the evalkitst7570-1 and the pc is managed through an onboard usb to uart adapter. this device needs the installation of the correct device software driver on the pc. assuming that the device drivers are not yet installed, follow the instructions below: 1. download the latest available virtual com port (vcp) drivers from the ftdi web site (www.ftdichip.com) and unzip them to a location on the host pc. 2. connect the evalkitst7570-1 to a spare usb port on the host pc. the screen shown in figure 2 is displayed. select ?no, not this time? from the options available and then click ?next? to proceed with the installation. figure 2. hardware update wizard screen connection procedure UM1008 6/32 doc id 18032 rev 2 3. select ?install from a list or spec ific location (advanced)?, as shown in figure 3 below and then click ?next?. figure 3. new hardware update wizard 4. select ?search for the best driver in these locations? and enter the file path in the combo-box (?c:\cdm 2.02.04", in the example shown in figure 4 ) or browse to it by clicking ?browse?. once the file path has been entered in the box, click ?next? to proceed. figure 4. found new hardware update wizard UM1008 connection procedure doc id 18032 rev 2 7/32 5. if windows ? xp is configured to warn when unsigned (non-whql certified) drivers are about to be installed, the message dialogue shown in figure 5 is displayed, unless installing a microsoft ? whql certified driver. click on ?continue anyway? to continue with the installation. if windows xp is configured to ignore file signature warnings, no message appears. figure 5. hardware installation 6. the screen shown in figure 6 is displayed as windows xp copies the required driver files. figure 6. software installation connection procedure UM1008 8/32 doc id 18032 rev 2 7. a message should then appear indicating that the installation was successful ( figure 7 ). click ?finish? to complete the installa tion for the first port of the device. figure 7. completing the found new hardware update wizard once the driver installation is complete a new ?usb serial po rt? device is installed on the host pc. UM1008 gui installation doc id 18032 rev 2 9/32 3 gui installation 3.1 system requirements a personal computer (pc) including: windows nt/2000/xp operating system a hard disk with at least 15 mbytes of free space to install the gui one or more usb 1.1 ports 3.2 installing the software follow the instructions below to install the st7570 gui software. 1. extract the contents of the archive in a new directory. 2. launch ?setup.exe? to start the install procedure. 3. press the ?next? button ( figure 8 ). figure 8. st7570 gui installation wizard gui installation UM1008 10/32 doc id 18032 rev 2 4. choose an installation path (the default path is suggested) and press the ?next? button ( figure 9 ). figure 9. st7570 gui setup 5. press the ?next? button to start the installation ( figure 10 ). figure 10. application installation UM1008 gui installation doc id 18032 rev 2 11/32 6. once installation has completed, press the ?finish? button to complete the process ( figure 11 ). figure 11. application installed getting started UM1008 12/32 doc id 18032 rev 2 4 getting started 4.1 introduction the st7570 gui gives the user complete control of the st7570 device, with full access to all the settings and functions described in [ 1. ]. the gui can be used to: establish a connection to the st7570 modem configure the st7570 and manage all its settings perform any transmission and reception of data and alarms over the power line figure 12 shows the main window of the st7570 gui. the panel is divided into two sections: 1. node panel: used to control an st7570 node. in case of multiple nodes connected to the gui, the user can switch between the panels through the node panel tabs. 2. console: box displaying where all the messages exchanged with the node are displayed. in the case of multiple nodes, this panel is common to all the nodes. figure 12. st7570 gui main window almost all graphical interface objects and relative controls show their tooltips, when the user hovers the cursor over this item: these tooltips give information about the meaning and the use of the controls and parameters. ! - v 1 r g h s d q h o & |